package cn.ulc.store.dao;
import cn.ulc.common.constant.enums.AvailableStatus;
import org.beetl.sql.core.engine.PageQuery;
import org.beetl.sql.core.annotatoin.SqlResource;
import cn.ulc.store.entity.Advertising;
import cn.ulc.store.entity.*;

import java.util.List;


/*
* Advertising
* gen by Jin mapper 2019-06-16
*/
@SqlResource("advertising")
public interface AdvertisingDao extends BaseDao<Advertising> {

    PageQuery<Advertising> findListPage(PageQuery pageQuery);

    List<Advertising> findList(Long companyId, AvailableStatus status);

    List<Advertising> findListByLocation(Long companyId,String location, AvailableStatus status);

}
